.native-dialog {
    box-sizing: border-box;
    outline: none;
    background-color: #fff;
    border: solid;
    color: black;
    display: block;
    height: -moz-fit-content;
    height: -webkit-fit-content;
    height: fit-content;
    left: 0;
    margin: auto;
    padding: 0;
    position: absolute;
    right: 0;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
    min-width: 300px;
    max-height: 80%;
    border: 1px solid #eee;
    border-radius: 5px;
}

.native-dialog * {
    box-sizing: inherit;
    outline: none;
}

.native-dialog:not([open]) {
    display: none;
}

.native-dialog::backdrop {
    background: rgba(0, 0, 0, 0.3);
}

.native-dialog-hd {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    margin: 0;
    font-size: 14px;
}

.native-dialog-bd {
    height: calc(100% - 80px);
    padding: 16px;
    color: #196d6d;
    font-size: 13px;
    border-top: 1px solid #dcdfe6;
    border-bottom: 1px solid #dcdfe6;
    overflow: auto;
}

.native-dialog-ft {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 16px;
}

.native-dialog-ft-cancel,
.native-dialog-ft-ok {
    padding: 2px 10px;
    background: #fff;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
}

.native-dialog-ft-cancel {
    margin-right: 10px;
    border: 1px solid #000;
    color: #000;
}

.native-dialog-ft-ok {
    color: #1890ff;
    border: 1px solid #1890ff;
}

.native-dialog-ft-cancel:hover,
.native-dialog-ft-ok:hover {
    background-color: #ffadd2;
}